# -*- coding: utf-8 -*-
# @Time : 2024/4/24 11:18 PM 
# @Author : Wayne
# @Email : 1
# @File : split_array_list.py
# @Project : young_python_demo
# @DESCRIPTION :

data = "JY202404011076,JY202404011053,JY202404011069,JY202404011055,JY202404011065,JY202404011101,JY202404017218,JY202404011066,JY202404031746,JY202404015931,JY202404016800,JY202404016676,JY202404019142,JY2024040111646,JY202404021630,JY202404022456,JY202404022476"

# 首先，按逗号分割字符串为列表

elements = data.split(',')
# 使用split函数按逗号分割字符串，结果是一个字符串列表
grouped_strings = [','.join(elements[i:i+3]) for i in range(0, len(elements), 3)]


for i in grouped_strings:
    print(i)